import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false

//引入echarte 挂载到vue链
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;

//引入axios
import axios from 'axios';
axios.defaults.baseURL = 'http://localhost:3000/api/' //设置默认请求地址
Vue.prototype.$http = axios;

//引入css
import "@/assets/css/global.css";

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
